The Tab View Component > FTabView.getEnabled()

 

FTabView.getEnabled()

Availability

Flash Player 6.

Usage

myTab_tbv.getEnabled ()

Parameters

None.

Returns

Returns a Boolean value indicating whether the component is enabled (true) or not (false).

Description

Returns a Boolean value indicating whether the component is enabled (true) or not (false). When the component is not enabled, it will not respond to user interaction. Its visual state will also be grayed-out to indicate its status.

Example

The following code sets the component to be disable and then traces the enabled value.

myTab_tbv.setEnabled( false );
trace( "Enabled: " + myTab_tbv.getEnabled( ) ); //traces "Enabled: false"

 

See also

FTabView.setEnabled()